# name : add col of mean & std without by group, using data step
# key : add.meanstd.without.group
# contributor: Shuguang Sun
# --
proc means data=${1:dtin};
var ${2:vars};
output out=${3:dmean} mean= std= /autoname;
run;

data ${4:dout};
if _n_=1 then set $3;
set $1;
run;